package MyBlockQueue;public class MyTask {    private int x;    private int y;    private char op;    public MyTask(int x,int y,char op)    {        this.x = x;        this.y = y;        this.op = op;    }    public MyTask(){}    public int Run() throws ArithmeticException    {        int resutl = 0;        switch (op)        {            case '+':                resutl = x + y; break;            case '-':                resutl = x - y; break;            case '*':                resutl = x * y; break;            case '/':                resutl = x / y; break;            case '%':                resutl = x % y; break;            default : throw new OpException("输入的操作符有误");        }        return resutl;    }}